<div class="row">
<div class="col-lg-12">
<div class="widget">
<div class="widget-header "> <span class="widget-caption">{echo $patharray['name']}</span>
     <div class="widget-buttons compact"> <a data-toggle="maximize" href="#"> <i class="fa fa-expand"></i> </a> <a data-toggle="collapse" href="#"> <i class="fa fa-minus"></i> </a></div>
</div>
<div class="widget-body" style="display: block;">
<div class="tabbable">
<ul class="nav nav-tabs tabs-flat padding_rl_12">
     {if $actionarray}
         {foreach $actionarray $value}
              <li{if $value['action']==$action} class="active"{elseif !$value['active']} style="display:none"{/if}> <a href="{echo $value['url']}"> {echo $value['name']} </a>
             </li>
         {/foreach} 
     
     {/if}
</ul>

<div class="tab-content tabs-flat">